home *** CD-ROM | disk | FTP | other *** search
-
-
-
- rrrreeeeccccttttffff((((3333GGGG)))) rrrreeeeccccttttffff((((3333GGGG))))
-
-
-
- NNNNAAAAMMMMEEEE
- rrrreeeeccccttttffff,,,, rrrreeeeccccttttffffiiii,,,, rrrreeeeccccttttffffssss - fills a rectangular area
-
- FFFFOOOORRRRTTTTRRRRAAAANNNN 77777777 SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
- ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee rrrreeeeccccttttffff((((xxxx1111,,,, yyyy1111,,,, xxxx2222,,,, yyyy2222))))
- rrrreeeeaaaallll xxxx1111,,,, yyyy1111,,,, xxxx2222,,,, yyyy2222
-
- ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee rrrreeeeccccttttffffiiii((((xxxx1111,,,, yyyy1111,,,, xxxx2222,,,, yyyy2222))))
- iiiinnnntttteeeeggggeeeerrrr****4444 xxxx1111,,,, yyyy1111,,,, xxxx2222,,,, yyyy2222
-
- ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee rrrreeeeccccttttffffssss((((xxxx1111,,,, yyyy1111,,,, xxxx2222,,,, yyyy2222))))
- iiiinnnntttteeeeggggeeeerrrr****2222 xxxx1111,,,, yyyy1111,,,, xxxx2222,,,, yyyy2222
-
- All of the above routines are functionally the same. They differ only in
- the type declarations of their parameters.
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
- _x_1 expects the x coordinate of one corner of the rectangle that is to
- be drawn.
-
- _y_1 expects the y coordinate of one corner of the rectangle that is to
- be drawn.
-
- _x_2 expects the x coordinate of the opposite corner of the rectangle
- that is to be drawn.
-
- _y_2 expects the y coordinate of the opposite corner of the rectangle
- that is to be drawn.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- rrrreeeecccctttt draws a filled rectangle in the _x-_y plane with _z assumed to be zero.
- The sides of the rectangle are parallel to the _x and _y axes. To create a
- rectangle that does not lie in the _x-_y plane, draw the rectangle in the
- _x-_y plane, then rotate and/or translate the rectangle.
-
- A rectangle is drawn as a single polygon, and therefore inherits all
- properties that affect the drawing of polygons. These include the
- current color, writemask, fill pattern, shade model, polygon antialiasing
- mode, polygon scan conversion mode, and subpixel mode. Front-face and
- back-face elimination work correctly with filled rectangles. The front-
- face of a rectangle faces the positive z half-space when (_x_1, _y_1) is the
- lower-left corner of the rectangle in object coordinates. Some polygon
- modes are applicable only if old-style scan conversion is defeated. (See
- note below.)
-
- After rrrreeeeccccttttffff executes, the graphics position is undefined.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- backfa, bgnpol, frontf, glcomp, polymo, polysm, rect, scrsub, setpat,
- shadem, subpix
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- rrrreeeeccccttttffff((((3333GGGG)))) rrrreeeeccccttttffff((((3333GGGG))))
-
-
-
- NNNNOOOOTTTTEEEESSSS
- Previous graphics library implementations set the current graphics
- position to (_x_1, _y_1) after the rectangle was drawn. Current graphics
- position is now undefined after a rectangle is drawn.
-
- By default rrrreeeeccccttttffff draws a polygon using the old-style scan conversion
- algorithm, rather than the point sampling algorithm used by bbbbggggnnnnppppoooollll and
- eeeennnnddddppppoooollll. Point sampling is prefered over old-style scan conversion
- because it has higher performance, it results in higher-quality images
- when blending, logical operations, or stenciling are used, and it
- supports new rendering features such as texture mapping, fog, and
- antialiasing. Call ggggllllccccoooommmmpppp((((GGGGLLLLCCCCOOOOLLLLDDDD,,,,0000)))) to enable point sampling of polygons
- generated by rrrreeeeccccttttffff.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-